#ifndef LINE_H
#define LINE_H

#include <QPoint>
#include <QVector2D>
#include "Drawing.h"

class Line : public Drawing
{
    public:
        Line();
        Line(QPoint* p1, QPoint* p2);
        void draw(QPainter* painter);
        QColor getInterpolatedColor(QPoint* );
        QList<QPoint*> pixelCoordenates();
        QList<QPoint*> projectedPoints(QList<QPoint*>);
        QVector2D* toVector2D();
   private:
        void paintPoint(QPoint, QPainter*);
};

#endif // LINE_H
